package com.zrrd.mcl.item.client;


import com.zrrd.mcl.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-item")
public interface ItemFeiginClient {

    @GetMapping("api/item/{skuId}")
    Result getItem(@PathVariable("skuId") Long skuId);
}
